
package com.youlai.boot.system.converter;

import com.youlai.boot.system.model.entity.ArticleType;
import com.youlai.boot.system.model.vo.ArticleTypeVO;
import com.youlai.boot.system.model.form.ArticleTypeForm;
import org.mapstruct.Mapper;

/**
 * 部门对象转换器
 *
 * @author haoxr
 * @since 2022/7/29
 */
@Mapper(componentModel = "spring")
public interface ArticleTypeConverter {

    ArticleTypeForm toForm(ArticleType entity);

    ArticleTypeVO toVo(ArticleType entity);

    ArticleType toEntity(ArticleTypeForm deptForm);

}